
package com.scalar.chiptrack.operations.process.forms;

import org.apache.struts.upload.FormFile;
import com.scalar.chiptrack.ChipTrackActionForm;

public class TestForm extends ChipTrackActionForm {

    private String m_stepName = null;
    private int m_baseProductId = -1;
    private String m_baseProductName = null;
    private int m_previousStepId = -1;
    private String m_testProductName = null;
    private double m_lotHoldYieldLimit = 0.0;
    private double m_lotScrapYieldLimit = 0.0;
    private double m_targetyield = 0.0;
    private double m_standardUnitCost = 0.0;    
    private String m_poFrequency = null;
    private String m_procedureDocNumber = null;
    private FormFile m_procedureDocFile = null;  
    private String m_procedureDocFileName = null;  
    private String m_programDocNumber = null;
    private FormFile m_programDocFile = null;
    private String m_programDocFileName = null;
    private String m_system = null;
    private String m_testJig = null;
    private String m_comments = null;
    private int m_trackId = -1;
    private String m_binSetupEnabled = "false";
    private int m_processStepId = -1;
    // added by ravikanth 19 Sep 2003
	private String [] dupProductName = new String[0];
    
    public TestForm() {
    }
    
    public TestForm (float lotHoldYieldLimit, 
                      float lotScrapYieldLimit, 
                      float targetyield, 
                      float standardUnitCost, 
                      String poFrequency,
                      String testJig, 
                      String system, 
                      String procedureDocNumber, 
                      String procedureDocFileName, 
                      String programDocNumber, 
                      String programDocFileName,
                      String testProductName, 
                      int baseProductId, 
                      String stepName, 
                      String comments, 
                      int previousStepId) {
                          
          m_lotHoldYieldLimit = lotHoldYieldLimit;
          m_lotScrapYieldLimit = lotScrapYieldLimit;
          m_targetyield = targetyield;
          m_standardUnitCost = standardUnitCost;
          m_poFrequency = poFrequency;
          m_testJig = testJig; 
          m_system = system;
          m_procedureDocNumber = procedureDocNumber;
          m_procedureDocFileName = procedureDocFileName;
          m_programDocNumber = programDocNumber;
          m_programDocFileName = programDocFileName;
          m_testProductName = testProductName;
          m_baseProductId = baseProductId;
          m_stepName = stepName; 
          m_comments = comments;
          m_previousStepId = previousStepId;

    }


    public int getProcessStepId() {
        return m_processStepId;
    }
    public void setProcessStepId (int processStepId) {
        m_processStepId = processStepId;
    }
    
    public int getTrackId() {
        return m_trackId;
    }
    public void setTrackId (int trackId) {
        m_trackId = trackId;
    }
    
    public String getStepName() {
        return m_stepName;
    }
    public void setStepName (String stepName) {
        m_stepName = stepName;
    }
    
    public int getBaseProductId() {
        return m_baseProductId;
    }
    public void setBaseProductId (int baseProductId) {
        m_baseProductId = baseProductId;
    }
    
    public String getBaseProductName() {
        return m_baseProductName;
    }
    public void setBaseProductName (String name) {
        m_baseProductName = name;
    }
    
    public int getPreviousStepId() {
        return m_previousStepId;
    }
    public void setPreviousStepId (int previousStepId) {
        m_previousStepId = previousStepId;
    }
    
    public String getTestProductName() {
        return m_testProductName;
    }
    public void setTestProductName (String testProductName) {
        m_testProductName = testProductName;
    }
    
    public double getLotHoldYieldLimit() {
        return m_lotHoldYieldLimit;
    }
    public void setLotHoldYieldLimit (double limit) {
        m_lotHoldYieldLimit = limit;
    }
    
    public double getLotScrapYieldLimit() {
        return m_lotScrapYieldLimit;
    }
    public void setLotScrapYieldLimit (double limit) {
        m_lotScrapYieldLimit = limit;
    }
    
    public double getTargetYield() {
        return m_targetyield;
    }
    public void setTargetYield (double yield) {
        m_targetyield = yield;
    }
    
    public double getStandardUnitCost() {
        return m_standardUnitCost;
    }
    public void setStandardUnitCost (double cost) {
        m_standardUnitCost = cost;
    }

    public String getPoFrequency() {
        return m_poFrequency;
    }
    public void setPoFrequency (String freq) {
        m_poFrequency = freq;
    }
    
    public String getProcedureDocNumber() {
        return m_procedureDocNumber;
    }
    public void setProcedureDocNumber (String docNumber) {
        m_procedureDocNumber = docNumber;
    }
    
    public FormFile getProcedureDocFile() {
        return m_procedureDocFile;
    }
    public void setProcedureDocFile (FormFile file) {
        m_procedureDocFile = file;
    }
    
    public String getProgramDocNumber() {
        return m_programDocNumber;
    }
    public void setProgramDocNumber (String docNumber) {
        m_programDocNumber = docNumber;
    }
    
    public FormFile getProgramDocFile() {
        return m_programDocFile;
    }
    public void setProgramDocFile (FormFile file) {
        m_programDocFile = file;
    }
    
    public String getSystem() {
        return m_system;
    }
    public void setSystem (String system) {
        m_system = system;
    }
    
    public String getTestJig() {
        return m_testJig;
    }
    public void setTestJig (String testJig) {
        m_testJig = testJig;
    }
    
    public String getComments() {
        return m_comments;
    }
    public void setComments (String comments) {
        m_comments = comments;
    }
 
    public String getBinSetupEnabled() {
        return m_binSetupEnabled;
    }
    public void setBinSetupEnabled (String binSetupEnabled) {
        m_binSetupEnabled = binSetupEnabled;
    }
    /**
     * @return
     */
    public String[] getDupProductName()
    {
        return dupProductName;
    }

    /**
     * @param strings
     */
    public void setDupProductName(String[] strings)
    {
        dupProductName = strings;
    }

}